package com.ruoyi.blog.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 tb_link
 * 
 * @author ruoyi
 * @date 2024-03-08
 */
public class TbLink extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 友链表主键id */
    private String linkId;

    /** 友链类别 0-友链 1-推荐 2-个人网站 */
    @Excel(name = "友链类别 0-友链 1-推荐 2-个人网站")
    private Long linkType;

    /** 网站名称 */
    @Excel(name = "网站名称")
    private String linkName;

    /** 网站链接 */
    @Excel(name = "网站链接")
    private String linkUrl;

    /** 网站描述 */
    @Excel(name = "网站描述")
    private String linkDescription;

    /** 用于列表排序 */
    @Excel(name = "用于列表排序")
    private Long linkRank;

    /** 是否删除 0-未删除 1-已删除 */
    @Excel(name = "是否删除 0-未删除 1-已删除")
    private Long isDeleted;

    public void setLinkId(String linkId) 
    {
        this.linkId = linkId;
    }

    public String getLinkId() 
    {
        return linkId;
    }
    public void setLinkType(Long linkType) 
    {
        this.linkType = linkType;
    }

    public Long getLinkType() 
    {
        return linkType;
    }
    public void setLinkName(String linkName) 
    {
        this.linkName = linkName;
    }

    public String getLinkName() 
    {
        return linkName;
    }
    public void setLinkUrl(String linkUrl) 
    {
        this.linkUrl = linkUrl;
    }

    public String getLinkUrl() 
    {
        return linkUrl;
    }
    public void setLinkDescription(String linkDescription) 
    {
        this.linkDescription = linkDescription;
    }

    public String getLinkDescription() 
    {
        return linkDescription;
    }
    public void setLinkRank(Long linkRank) 
    {
        this.linkRank = linkRank;
    }

    public Long getLinkRank() 
    {
        return linkRank;
    }
    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("linkId", getLinkId())
            .append("linkType", getLinkType())
            .append("linkName", getLinkName())
            .append("linkUrl", getLinkUrl())
            .append("linkDescription", getLinkDescription())
            .append("linkRank", getLinkRank())
            .append("isDeleted", getIsDeleted())
            .append("createTime", getCreateTime())
            .toString();
    }
}
